/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa036is.daointerface;

import cz.muni.fi.pa036is.entity.Complaint;
import java.util.List;

/**
 *
 * @author Kuba
 */
public interface ComplaintDAO {

    public void addComplaint(Complaint complaint);

    public void editComplaint(Complaint complaint);

    public void deleteComplaint(Long id);

    public Complaint findComplaint(Long id);
    
    public List<Complaint> getAllComplaintsForMatch(Long id);

    public List<Complaint> getAllComplaints();
				
				public List<Complaint> getComplaintsByMatch(Long id);
}
